<div class="layui-card-header">
    <i class="layui-icon layui-icon-table"></i>产品与服务
</div>
<div class="layui-card-body layui-form" p-each="clientList" id="clientList">
    <div class="layui-form-item client-list-item" style="margin-top: 20px;">
        <a p-bind="href:/{{simpleCode}}" style="display: block">
            <i p-bind="class: iconfont {{icon}}"></i><span style="margin-left: 15px">{{name}}</span>
        </a>
    </div>
</div>
<style type="text/css">
    .layui-card-header {
        border-bottom: 1px solid #dedddd;
    }
    .layui-icon-table {
        margin-right: 8px
    }
</style>

<script>
    layui.use(['tools'], function () {
        var tools = layui.tools;
        var clientList = tools.getTempData('clientList');
        $("#clientList").vm({"clientList": clientList});
    });
</script>